package com.canxi.earn.mapper;

import com.canxi.earn.domain.CxBanner;
import com.canxi.earn.domain.vo.CxBannerVo;
import com.canxi.common.core.mapper.BaseMapperPlus;
import org.apache.ibatis.annotations.Param;
import java.util.List;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import org.apache.ibatis.annotations.Mapper;

/**
 * 轮播图管理Mapper接口
 *
 * @author ruoyi
 * @date 2024-09-04
 */
@Mapper
public interface CxBannerMapper extends BaseMapperPlus<CxBannerMapper, CxBanner, CxBannerVo> {

    /**
     * @description: TODO 分页查询轮播图管理列表
     * @author: ruoyi
     * @date: 2024-09-04
     * @param:
     * @param: page
     * @param: cxBannerVo
     * @return:
     * @return com.baomidou.mybatisplus.extension.plugins.pagination.Page<Vo>
     **/
    Page<CxBannerVo> queryCxBannerList(Page<?> page, @Param("cxBannerVo") CxBannerVo cxBannerVo);

    /**
     * @description: TODO 查询轮播图管理列表
     * @author: ruoyi
     * @date: 2024-09-04
     * @param:
     * @param: cxBannerVo
     * @return:
     * @return com.baomidou.mybatisplus.extension.plugins.pagination.Page<Vo>
     **/
    List<CxBannerVo> queryCxBannerList(@Param("cxBannerVo") CxBannerVo cxBannerVo);


    /**
     * @description: TODO 根据id查询轮播图管理
     * @author: ruoyi
     * @date: 2024-09-04
     * @param:
     * @return:
     * @return Vo
     **/
    List<CxBannerVo> queryCxBannerByIds(@Param("ids") String ids);


    /**
     * @description: TODO 根据id查询轮播图管理
     * @author: ruoyi
     * @date: 2024-09-04
     * @param:
     * @return:
     * @return Vo
     **/
    CxBannerVo queryCxBannerById(@Param("Id") Long id);


}
